package com.ocm.commerceinteraction.model;

/**
 * Created by Curry on 2016-4-19.
 */
public class LoginModel {
    /**
     * id : 2
     * user_account : 1520237488
     * type : 2
     * password :
     * nick :
     * sex : 1
     * signatrure :
     * grade : 普通会员
     * user_uniq_id : 270626440
     * balance : 0
     * icon : /data/icon/109.png
     */

    private DataEntity data;
    /**
     * data : {"id":"2","user_account":"1520237488","type":"2","password":"","nick":"","sex":"1","signatrure":"","grade":"普通会员","user_uniq_id":"270626440","balance":"0","icon":"/data/icon/109.png"}
     * msg : 成功
     * status : true
     */

    private String msg;
    private boolean status;

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public DataEntity getData() {
        return data;
    }

    public String getMsg() {
        return msg;
    }

    public boolean isStatus() {
        return status;
    }

    public static class DataEntity {
        private String id;
        private String user_account;
        private String type;
        private String password;
        private String nick;
        private String sex;
        private String signatrure;
        private String grade;
        private String user_uniq_id;
        private String balance;
        private String icon;

        public void setId(String id) {
            this.id = id;
        }

        public void setUser_account(String user_account) {
            this.user_account = user_account;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public void setNick(String nick) {
            this.nick = nick;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public void setSignatrure(String signatrure) {
            this.signatrure = signatrure;
        }

        public void setGrade(String grade) {
            this.grade = grade;
        }

        public void setUser_uniq_id(String user_uniq_id) {
            this.user_uniq_id = user_uniq_id;
        }

        public void setBalance(String balance) {
            this.balance = balance;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getId() {
            return id;
        }

        public String getUser_account() {
            return user_account;
        }

        public String getType() {
            return type;
        }

        public String getPassword() {
            return password;
        }

        public String getNick() {
            return nick;
        }

        public String getSex() {
            return sex;
        }

        public String getSignatrure() {
            return signatrure;
        }

        public String getGrade() {
            return grade;
        }

        public String getUser_uniq_id() {
            return user_uniq_id;
        }

        public String getBalance() {
            return balance;
        }

        public String getIcon() {
            return icon;
        }
    }
}
